package com.sx.feesunit.biz;

import java.util.List;

import com.sx.feesunit.entity.AreaEntity;

public interface IAreaBiz {
	public Integer addAreaInfo(AreaEntity area) throws Exception;
	public boolean updateAreaInfo(AreaEntity area) throws Exception;
	public boolean deleteAreaInfo(AreaEntity area) throws Exception;
	/**
	 * 查询前十名用户最多的小区
	 *findTop10AreaUsers 
	 **/
	public List<AreaEntity> findTop10AreaUsers(AreaEntity area) throws Exception; 
	/**
	 *单个查询 
	 **/
	public List<AreaEntity> findAreaInfo(AreaEntity area)throws Exception;
	/**
	 *And连接分页查询 
	 **/
	public List<AreaEntity> findAreaInfoByAndCondiction(AreaEntity area) throws Exception;
	/**
	 *Or连接分页查询 
	 **/
	public List<AreaEntity> findAreaInfoByOrCondiction(AreaEntity area) throws Exception;
	
}
